﻿using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.BasicData.PaymentTerms
{
    public interface IPaymentTermAppService : IApplicationService
    {
        Task<PaymentTermDto> GetAsync(Guid id);

        Task<PaymentTermDto> CreateAsync(PaymentTermCreateDto input);

        Task<PaymentTermDto> UpdateAsync(PaymentTermUpdateDto input);

        Task<PagedResultDto<PaymentTermDto>> GetListAsync(PaymentTermPagedResultRequestDto filter);

        Task DeleteAsync(Guid id);
    }
}
